﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using ProdeFrontEnd.ServiceReferenceProde;

namespace ProdeFrontEnd.Clases
{
    public class ServiceProde
    {
        private static ServiceProde instance;
        public Service1Client prodeClient;

        private ServiceProde()
        {
            prodeClient = new Service1Client();
            prodeClient.Open();
        }

        public static ServiceProde getInstanceServiceProde()
        {
            instance = new ServiceProde();
            return instance;
        }

    }
}